//
//  TTOrderViewCell.h
//  TaoTuo
//
//  Created by admin on 2019/10/8.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TTOrderModel;
@class TTOrderViewCell;

@protocol TTOrderViewCellDelegate <NSObject>

/// 点击了 取消订单
- (void)cancleButtonClickWithOrderViewCell:(TTOrderViewCell *_Nullable)cell model:(TTOrderModel *)model;

/// 点击了 删除订单
- (void)deleteButtonClickWithOrderViewCell:(TTOrderViewCell *_Nullable)cell model:(TTOrderModel *)model;

/// 点击了 查看进度
- (void)checkScheduleButtonClickWithOrderViewCell:(TTOrderViewCell *_Nullable)cell model:(TTOrderModel *)model;

@end

NS_ASSUME_NONNULL_BEGIN

@interface TTOrderViewCell : UITableViewCell

@property (nonatomic, strong) TTOrderModel *model;

@property (nonatomic, assign) id<TTOrderViewCellDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
